<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"      
      xmlns:h="http://xmlns.jcp.org/jsf/html"

      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://xmlns.jcp.org/jsf/core">
    <h:head>  
        <title>TODO supply a title</title>
        <meta name="viewport" content="width=device-width"/>
    </h:head>
    <h:body>
        <div>TODO write content</div>
        <h:form>
        <h:dataTable value="#{controladorBusqueda.resultados}" var="persona" border="1">
                <h:column>
                    <f:facet name="header">cedula</f:facet>
                    <h:outputText value="#{persona.cedula}"/>
                </h:column>
                <h:column>
                    <f:facet name="header">codigo</f:facet>
                    <h:outputText value="#{persona.codigo}"/>
                </h:column>
                <h:column>
                    <f:facet name="header">CODIGO</f:facet>
                    <h:outputText value="#{persona.nombre}"/>
                </h:column>
                <h:column>
                    <f:facet name="header">CODIGO</f:facet>
                    <h:outputText value="#{persona.email}"/>
                </h:column>
        </h:dataTable>
            
            </h:form>
                
    </h:body>
</html>
